package com.zhai.types.common;

public class Constants {

    public final static String SPLIT = ",";
    public final static String COLON = ":";
    public final static String SPACE = " ";
    public final static String UNDERLINE = "_";

    public static class RedisKey {
        public static final String RULE_TREE_VO_KEY = "rule_tree_vo_key_";
        // 策略缓存
        public static String STRATEGY_KEY = "big_market_strategy_key_";
        // 策略奖品缓存 - 每个策略包含的奖品列表
        public static String STRATEGY_AWARD_KEY = "big_market_strategy_award_key_";
        // 缓存列表
        public static String STRATEGY_RATE_TABLE_KEY = "big_market_strategy_rate_table_key_";
        // 缓存区间值
        public static String STRATEGY_RATE_RANGE_KEY = "big_market_strategy_rate_range_key_";
        // 策略奖品对应的数量
        public static String STRATEGY_AWARD_COUNT_KEY = "strategy_award_count_key_";
        // 策略奖品库存扣减固定队列
        public static final String STRATEGY_AWARD_COUNT_QUERY_KEY = "strategy_award_count_query_key";
        public static String STRATEGY_RULE_WEIGHT_KEY = "strategy_rule_weight_key_";

        public static String STRATEGY_ARMORY_ALGORITHM_KEY = "strategy_armory_algorithm_key_";

        //活动
        //活动缓存key
        public static String ACTIVITY_KEY = "big_market_activity_key_";
        //活动数量缓存key
        public static String ACTIVITY_COUNT_KEY = "big_market_activity_count_key_";
        //活动sku库存数量
        public static String ACTIVITY_SKU_STOCK_COUNT_KEY = "activity_sku_stock_count_key_";
        public static String ACTIVITY_SKU_COUNT_QUERY_KEY = "activity_sku_count_query_key";
        //sku列表缓存
        public static String ACTIVITY_SKU_LIST_KEY = "activity_sku_list_key_";
        // 活动账户锁
        public static String ACTIVITY_ACCOUNT_LOCK = "activity_account_lock_";
    }
}
